import { Layout } from '@fl/utils/routerHelper'

const houseTag: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/pages/label-management/index.vue'),
            meta: {
                title: '楼盘标签列表',
            },
            name: 'tag-list',
            path: 'tag-list',
        },
        {
            component: () => import('@/pages/label-management/component/add/index.vue'),
            meta: {
                activeMenu: '/label-management/house-tag/tag-list',
                hidden: true,
                noTagsView: true,
                title: '添加标签',
            },
            name: 'tag-add',
            path: 'tag-add',
        },
        {
            component: () => import('@/pages/label-management/component/sort-label.vue'),
            meta: {
                activeMenu: '/label-management/house-tag/tag-list',
                hidden: true,
                noTagsView: true,
                title: '楼盘标签排序',
            },
            name: 'tag-sort',
            path: 'tag-sort',
        },
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        icon: 'i-teenyicons:house-outline',
        title: '楼盘标签管理',
    },
    name: 'house-tag',
    path: 'house-tag',
}

export default houseTag
